import request from './request'

// 获取banner列表
export function getBannerList(){
  return request({
    method: "POST",
    url: '/api/common/get_base_banner_list',
  });
}

// 获取首页数据
export function getManufactureInfo(){
  return request({
    method: "POST",
    url: '/api/common/get_base_config_info',
  });
}

// 获取基地数据
export function getDataInfo(data){
  return request({
    method: "POST",
    url: '/api/common/get_base_list',
    data
  });
}

// 获取车间制造实力列表
export function getWorkShopList(data){
  return request({
    method: "POST",
    url: '/api/common/get_work_shop_list',
    data
  });
}

// 获取质量管控列表
export function getQualityList(data){
  return request({
    method: "POST",
    url: '/api/common/get_quality_list',
    data
  });
}

// 获取基地属性列表
export function getBaseAttrList(data){
  return request({
    method: "POST",
    url: '/api/common/get_base_attr_list',
    data
  });
}
